Skip to content

Add medialive_network(+_info) module and integration tests - #2370

Open
r363x wants to merge 1 commit into
ansible-collections:mainfrom
r363x:feature/new_module/medialive_network
Open

Add medialive_network(+_info) module and integration tests#2370
r363x wants to merge 1 commit into
ansible-collections:mainfrom
r363x:feature/new_module/medialive_network

Conversation

@r363x

@r363x r363x commented Dec 19, 2025

Copy link
Copy Markdown
SUMMARY

Adds new modules for AWS Elemental MediaLive to enable infrastructure-as-code management of MediaLive resources.
These modules expand the AWS collection's coverage to include MediaLive services, particularly useful for organizations managing broadcast and streaming workflows through Ansible automation.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME
  • medialive_network (+_info)
ADDITIONAL INFORMATION

A companion PR has been created in the aws.terminator repository that adds the required MediaLive IAM permissions needed for the integration tests included in this PR to pass. Once that PR is merged, the CI failures here should be resolved.

mattclay/aws-terminator#315

Testing completed:

  • Integration tests added for each module
  • Tested with Python 3.x
  • Documentation includes examples for all modules
  • Module arguments documented with type hints and descriptions
  • Return values documented

This is the first of a series of PRs for AWS MediaLive modules.

@github-actions

github-actions Bot commented Dec 19, 2025

Copy link
Copy Markdown

Docs Build 📝

Thank you for contribution!✨

The docsite for this PR is available for download as an artifact from this run:
https://github.com/ansible-collections/community.aws/actions/runs/20380796255

You can compare to the docs for the main branch here:
https://ansible-collections.github.io/community.aws/branch/main

File changes:

  • A collections/community/aws/medialive_network_info_module.html
  • A collections/community/aws/medialive_network_module.html
  • M collections/community/aws/index.html
  • M collections/community/aws/lightsail_static_ip_module.html
  • M collections/community/aws/mq_broker_module.html
  • M collections/index_module.html
Click to see the diff comparison.

NOTE: only file modifications are shown here. New and deleted files are excluded.
See the file list and check the published docs to see those files.

diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/index.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/index.html
index 8575d3c..c0e25c0 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/index.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/index.html
@@ -266,6 +266,8 @@
 <li><p><a class="reference internal" href="lightsail_module.html#ansible-collections-community-aws-lightsail-module"><span class="std std-ref">lightsail module</span></a> – Manage instances in AWS Lightsail</p></li>
 <li><p><a class="reference internal" href="lightsail_snapshot_module.html#ansible-collections-community-aws-lightsail-snapshot-module"><span class="std std-ref">lightsail_snapshot module</span></a> – Creates snapshots of AWS Lightsail instances</p></li>
 <li><p><a class="reference internal" href="lightsail_static_ip_module.html#ansible-collections-community-aws-lightsail-static-ip-module"><span class="std std-ref">lightsail_static_ip module</span></a> – Manage static IP addresses in AWS Lightsail</p></li>
+<li><p><a class="reference internal" href="medialive_network_module.html#ansible-collections-community-aws-medialive-network-module"><span class="std std-ref">medialive_network module</span></a> – Manage AWS MediaLive Anywhere networks</p></li>
+<li><p><a class="reference internal" href="medialive_network_info_module.html#ansible-collections-community-aws-medialive-network-info-module"><span class="std std-ref">medialive_network_info module</span></a> – Gather MediaLive Anywhere network info</p></li>
 <li><p><a class="reference internal" href="mq_broker_module.html#ansible-collections-community-aws-mq-broker-module"><span class="std std-ref">mq_broker module</span></a> – MQ broker management</p></li>
 <li><p><a class="reference internal" href="mq_broker_config_module.html#ansible-collections-community-aws-mq-broker-config-module"><span class="std std-ref">mq_broker_config module</span></a> – Update Amazon MQ broker configuration</p></li>
 <li><p><a class="reference internal" href="mq_broker_info_module.html#ansible-collections-community-aws-mq-broker-info-module"><span class="std std-ref">mq_broker_info module</span></a> – Retrieve MQ Broker details</p></li>
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/lightsail_static_ip_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/lightsail_static_ip_module.html
index 2eb62c3..1494597 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/lightsail_static_ip_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/lightsail_static_ip_module.html
@@ -22,7 +22,7 @@
       <script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
     <script src="../../../_static/js/theme.js"></script>
     <link rel="search" title="Search" href="../../../search.html" />
-    <link rel="next" title="community.aws.mq_broker module – MQ broker management" href="mq_broker_module.html" />
+    <link rel="next" title="community.aws.medialive_network module – Manage AWS MediaLive Anywhere networks" href="medialive_network_module.html" />
     <link rel="prev" title="community.aws.lightsail_snapshot module – Creates snapshots of AWS Lightsail instances" href="lightsail_snapshot_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
 
 
@@ -385,7 +385,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-light
 
 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
         <a href="lightsail_snapshot_module.html" class="btn btn-neutral float-left" title="community.aws.lightsail_snapshot module – Creates snapshots of AWS Lightsail instances" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
-        <a href="mq_broker_module.html" class="btn btn-neutral float-right" title="community.aws.mq_broker module – MQ broker management" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
+        <a href="medialive_network_module.html" class="btn btn-neutral float-right" title="community.aws.medialive_network module – Manage AWS MediaLive Anywhere networks" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
     </div>
 
   <hr/>
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/mq_broker_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/mq_broker_module.html
index 69fe9fa..6b7df2a 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/mq_broker_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/mq_broker_module.html
@@ -23,7 +23,7 @@
     <script src="../../../_static/js/theme.js"></script>
     <link rel="search" title="Search" href="../../../search.html" />
     <link rel="next" title="community.aws.mq_broker_config module – Update Amazon MQ broker configuration" href="mq_broker_config_module.html" />
-    <link rel="prev" title="community.aws.lightsail_static_ip module – Manage static IP addresses in AWS Lightsail" href="lightsail_static_ip_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
+    <link rel="prev" title="community.aws.medialive_network_info module – Gather MediaLive Anywhere network info" href="medialive_network_info_module.html" /><!-- extra head elements for Ansible beyond RTD Sphinx Theme -->
 
 
 
@@ -653,7 +653,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-mq-br
           
 
 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
-        <a href="lightsail_static_ip_module.html" class="btn btn-neutral float-left" title="community.aws.lightsail_static_ip module – Manage static IP addresses in AWS Lightsail" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
+        <a href="medialive_network_info_module.html" class="btn btn-neutral float-left" title="community.aws.medialive_network_info module – Gather MediaLive Anywhere network info" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
         <a href="mq_broker_config_module.html" class="btn btn-neutral float-right" title="community.aws.mq_broker_config module – Update Amazon MQ broker configuration" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
     </div>
 
diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/index_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/index_module.html
index f8a24d0..6db5ba2 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/index_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/index_module.html
@@ -209,6 +209,8 @@
 <li><p><a class="reference internal" href="community/aws/lightsail_module.html#ansible-collections-community-aws-lightsail-module"><span class="std std-ref">community.aws.lightsail</span></a> – Manage instances in AWS Lightsail</p></li>
 <li><p><a class="reference internal" href="community/aws/lightsail_snapshot_module.html#ansible-collections-community-aws-lightsail-snapshot-module"><span class="std std-ref">community.aws.lightsail_snapshot</span></a> – Creates snapshots of AWS Lightsail instances</p></li>
 <li><p><a class="reference internal" href="community/aws/lightsail_static_ip_module.html#ansible-collections-community-aws-lightsail-static-ip-module"><span class="std std-ref">community.aws.lightsail_static_ip</span></a> – Manage static IP addresses in AWS Lightsail</p></li>
+<li><p><a class="reference internal" href="community/aws/medialive_network_module.html#ansible-collections-community-aws-medialive-network-module"><span class="std std-ref">community.aws.medialive_network</span></a> – Manage AWS MediaLive Anywhere networks</p></li>
+<li><p><a class="reference internal" href="community/aws/medialive_network_info_module.html#ansible-collections-community-aws-medialive-network-info-module"><span class="std std-ref">community.aws.medialive_network_info</span></a> – Gather MediaLive Anywhere network info</p></li>
 <li><p><a class="reference internal" href="community/aws/mq_broker_module.html#ansible-collections-community-aws-mq-broker-module"><span class="std std-ref">community.aws.mq_broker</span></a> – MQ broker management</p></li>
 <li><p><a class="reference internal" href="community/aws/mq_broker_config_module.html#ansible-collections-community-aws-mq-broker-config-module"><span class="std std-ref">community.aws.mq_broker_config</span></a> – Update Amazon MQ broker configuration</p></li>
 <li><p><a class="reference internal" href="community/aws/mq_broker_info_module.html#ansible-collections-community-aws-mq-broker-info-module"><span class="std std-ref">community.aws.mq_broker_info</span></a> – Retrieve MQ Broker details</p></li>

@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/db1c72f486c14c2ca3833b19d6197e82

✔️ ansible-galaxy-importer SUCCESS in 4m 14s (non-voting)
✔️ build-ansible-collection SUCCESS in 11m 36s
✔️ ansible-test-splitter SUCCESS in 4m 23s
integration-community.aws-1 FAILURE in 4m 49s
Skipped 21 jobs

@r363x
r363x force-pushed the feature/new_module/medialive_network branch from 8c03a6e to ff31954 Compare December 19, 2025 19:37
Date:      Wed Apr 23 12:00:00 2025 -0700
Author:    Sergey Papyan <35167715+r363x@users.noreply.github.com>
@r363x
r363x force-pushed the feature/new_module/medialive_network branch from ff31954 to 42cbe55 Compare December 19, 2025 19:46
@softwarefactory-project-zuul

Copy link
Copy Markdown
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/f39bd346c1d64352bb0b52108c07ab48

✔️ ansible-galaxy-importer SUCCESS in 4m 00s (non-voting)
✔️ build-ansible-collection SUCCESS in 11m 24s
✔️ ansible-test-splitter SUCCESS in 4m 20s
integration-community.aws-1 FAILURE in 4m 27s
Skipped 21 jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant